package cn.cvs.service;

import cn.cvs.pojo.SysUser;

import java.util.List;

/**
 * 用户信息表(SysUser)表服务接口
 *
 * @author makejava
 * @since 2022-11-18 10:11:43
 */
public interface SysUserService {

    SysUser login(String loginName,String password);

    List<SysUser> list(Integer page, Integer limit,String loginName,String phonenumber,Integer deptId);

    int count(String loginName,String phonenumber,Integer deptId);

    int delete(Integer userId);

    int add(SysUser sysUser);

    int update(SysUser sysUser);

    SysUser queryById(Integer id);

    List<SysUser> selectSome(String loginName, String phonenumber);

    int changeStatus(Integer id, char status);
}
